<?php
/**
 * @link http://www.yiiframework.com/
 * @copyright Copyright (c) 2008 Yii Software LLC
 * @license http://www.yiiframework.com/license/
 */

namespace app\assets;

use yii\web\AssetBundle;

/**
 * @author Qiang Xue <qiang.xue@gmail.com>
 * @since 2.0
 */
class PublishAsset extends AssetBundle
{
    public $jsOptions = ['position' => \yii\web\View::POS_HEAD];//让js在头部就加载
    public $basePath = '@webroot';
    public $baseUrl = '@web';
    public $css = [
        'publish/css/umeditor.css',
        'publish/css/webuploader.css',
        'publish/css/diyUpload.css',
        'publish/css/easyui.css',
        'publish/css/icon.css',
        'publish/css/bootstrap-select.min.css',
        'publish/css/style.css',
    ];
    public $js = [
        'publish/js/jquery.min.js',
        'publish/js/jquery.form.js',
        'publish/js/umeditor.config.js',
        'publish/js/umeditor.js',
        'publish/js/zh-cn.js',
        'publish/js/webuploader.html5only.js',
        'publish/js/diyUpload.js',
        'publish/js/jquery.easyui.min.js',
        'publish/js/bootstrap-select.min.js',
        'publish/js/bootstrap3-validation.js',
//        'publish/js/jquery-1.11.2.js',
        'publish/js/artEditor.js',
        'publish/js/index.js',


    ];
    public $depends = [
        'yii\bootstrap\BootstrapAsset',
    ];

}